package com.bean.entity;

import java.io.Serializable;

/**
 * 宿舍信息
 * User: 刘文雄
 * Date:2022/3/28 15:23
 * 宿舍信息实体类
 */
public class Dormitory implements Serializable {
    private Integer id;
    private String dormitoryName;
    private Long studentId;
    private Integer teacherId;
    private Integer hygieneScore;
    private String honor;
    private String repairRecord;

    @Override
    public String toString() {
        return "Dormitory{" +
                "id=" + id +
                ", dormitoryName='" + dormitoryName + '\'' +
                ", studentId=" + studentId +
                ", teacherId=" + teacherId +
                ", hygieneScore=" + hygieneScore +
                ", honor='" + honor + '\'' +
                ", repairRecord='" + repairRecord + '\'' +
                '}';
    }

    public Dormitory() {
    }

    public Dormitory(Integer id) {
        this.id = id;
    }

    public Dormitory(Integer id, Integer teacherId) {
        this.id = id;
        this.teacherId = teacherId;
    }

    public Dormitory(String dormitoryName) {
        this.dormitoryName = dormitoryName;
    }

    public Dormitory(Long studentId, Integer teacherId, Integer hygieneScore, String honor, String repairRecord) {
        this.studentId = studentId;
        this.teacherId = teacherId;
        this.hygieneScore = hygieneScore;
        this.honor = honor;
        this.repairRecord = repairRecord;
    }

    public Dormitory(Integer id, Long studentId, Integer teacherId, Integer hygieneScore, String honor, String repairRecord) {
        this.id = id;
        this.studentId = studentId;
        this.teacherId = teacherId;
        this.hygieneScore = hygieneScore;
        this.honor = honor;
        this.repairRecord = repairRecord;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDormitoryName() {
        return dormitoryName;
    }

    public void setDormitoryName(String dormitoryName) {
        this.dormitoryName = dormitoryName;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getHygieneScore() {
        return hygieneScore;
    }

    public void setHygieneScore(Integer hygieneScore) {
        this.hygieneScore = hygieneScore;
    }

    public String getHonor() {
        return honor;
    }

    public void setHonor(String honor) {
        this.honor = honor;
    }

    public String getRepairRecord() {
        return repairRecord;
    }

    public void setRepairRecord(String repairRecord) {
        this.repairRecord = repairRecord;
    }
}
